package com.hmall.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;

@Table(name = "mall_auction_item_detail")
public class MallAuctionItemDetail {
    @Id
    private Integer id;

    @Column(name = "auction_item_id")
    private Integer auctionItemId;

    @Column(name = "material_code")
    private String materialCode;

    /**
     * 等级
     */
    private String grade;

    /**
     * 色别
     */
    private String color;

    /**
     * 捻向
     */
    private String twisting;

    /**
     * 分厂机台号
     */
    @Column(name = "machine_no")
    private String machineNo;

    private BigDecimal quantity;

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @return auction_item_id
     */
    public Integer getAuctionItemId() {
        return auctionItemId;
    }

    /**
     * @param auctionItemId
     */
    public void setAuctionItemId(Integer auctionItemId) {
        this.auctionItemId = auctionItemId;
    }

    /**
     * @return material_code
     */
    public String getMaterialCode() {
        return materialCode;
    }

    /**
     * @param materialCode
     */
    public void setMaterialCode(String materialCode) {
        this.materialCode = materialCode;
    }

    /**
     * 获取等级
     *
     * @return grade - 等级
     */
    public String getGrade() {
        return grade;
    }

    /**
     * 设置等级
     *
     * @param grade 等级
     */
    public void setGrade(String grade) {
        this.grade = grade;
    }

    /**
     * 获取色别
     *
     * @return color - 色别
     */
    public String getColor() {
        return color;
    }

    /**
     * 设置色别
     *
     * @param color 色别
     */
    public void setColor(String color) {
        this.color = color;
    }

    /**
     * 获取捻向
     *
     * @return twisting - 捻向
     */
    public String getTwisting() {
        return twisting;
    }

    /**
     * 设置捻向
     *
     * @param twisting 捻向
     */
    public void setTwisting(String twisting) {
        this.twisting = twisting;
    }

    /**
     * 获取分厂机台号
     *
     * @return machine_no - 分厂机台号
     */
    public String getMachineNo() {
        return machineNo;
    }

    /**
     * 设置分厂机台号
     *
     * @param machineNo 分厂机台号
     */
    public void setMachineNo(String machineNo) {
        this.machineNo = machineNo;
    }

    /**
     * @return quantity
     */
    public BigDecimal getQuantity() {
        return quantity;
    }

    /**
     * @param quantity
     */
    public void setQuantity(BigDecimal quantity) {
        this.quantity = quantity;
    }
}